/**
 * Copyright (c) 2022, CCSSOFT All Rights Reserved.
 */
package com.qp.basics.common.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotBlank;

/**
 * ssh配置类
 * @author
 * @date 2018-12-31
 */
@Data
@Entity
@Table(name = "tool_ssh_config")
public class SshConfig {
    @Id
    @Column(name = "config_id")
    @ApiModelProperty(value = "ID", hidden = true)
    private Long id;

    @NotBlank
    @ApiModelProperty(value = "ip")
    private String host;

    @NotBlank
    @ApiModelProperty(value = "端口")
    private Integer port;

    @NotBlank
    @ApiModelProperty(value = "用户名")
    private String user;

    @NotBlank
    @ApiModelProperty(value = "密码")
    private String pass;
}
